import App from './App'
import Vue from 'vue'
import mixin from '@/mixin/mixin.js'
import store from "store/index.js"
import {showToast} from '@/util/util.js'
import * as filters from '@/util/filter.js' // global filters
import QQMapWX from './lib/qqmap-wx-jssdk.min.js';
Vue.config.productionTip = false 
Vue.prototype.showToast = showToast;
Vue.prototype.qqMap=new QQMapWX({
	key:'KXDBZ-VXELN-R7GFQ-STHFN-SOB6F-CNB4F'
})
Vue.mixin(mixin)

// register global utility filters
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})


App.mpType = 'app'
const app = new Vue({
	...App,
	store,
})
app.$mount()